<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <script src="js/jquery.js"></script>
    <script src="js/register.js"></script>
    <link rel="stylesheet" href="css/register.css">
</head>


<body>
<form method="post" action="register" id="formValidate" onsubmit="return formValidate()" enctype="multipart/form-data" >
    用户名 <input type="text" id="userName" name="userName" required>${errors.userName}<br>
    密码 <input type="text" id="password" name="password">${errors.password} <br>
    确认密码 <input type="text" id="enterPassword" name="enterPassword" required> <br>
    年龄 <input type="number" name="userAge" id="userAge" required>${errors.userAge} <br>
    生日<input type="date" id="birthday" name="birthday" required>${errors.birthday}
    邮箱<input type="email" id="email" name="email" required>${errors.email}
    上传头像<input type="file" name="avatar" id="avatar" accept="image/*">
    <input type="submit" value="注册" >${msg}
</form>

</body>

</html>
